package com.example.terminalservice.pojo.dto;

import lombok.Data;

import javax.validation.constraints.Email;

/**
 * @author 28142
 * @description 个人信息DTO
 * @date 2023/8/14 14:02
 */
@Data
public class UserInfoDTO {
    private String username;

    private String avatar;

    private String nickname;

    @Email(message = "邮箱地址不合法")
    private String email;

    private String address;

}
